package com.example.demo.provider;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.common.my.SayHello;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: zp
 * @date: 2020-09-12 10:23
 */
@Service
@Component
public class SayHelloImpl implements SayHello {
    @Override
    public String sayHello(String name) {
        return "Hello " + name + "!";
    }
}
